﻿
Imports System
Imports System.Collections.Generic
Imports System.Drawing
Imports DevExpress.LookAndFeel
Imports DevExpress.XtraBars.Ribbon
Imports DevExpress.XtraBars.Helpers
Imports System.Convert
Public Class Main
    Public Sub New()
        InitializeComponent()
        InitSkins()
    End Sub

    Private Sub InitSkins()
        DevExpress.UserSkins.BonusSkins.Register()
        DevExpress.UserSkins.OfficeSkins.Register()
        SkinHelper.InitSkinGallery(RibbonGalleryBarItem1, True)
        UserLookAndFeel.Default.SetSkinStyle("Money Twins")
    End Sub

    Private Sub BarButtonItem26_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem26.ItemClick
        HoatChat1.Show()
        HoatChat1.MdiParent = Me
        HoatChat1.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub Main_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        'Me.RibbonControl.Minimized = True
    End Sub

    Private Sub BarButtonItem43_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem43.ItemClick
        'Thu.RibbonControl1.UnMergeRibbon()
        Thu.Show()
        Thu.MdiParent = Me
        Thu.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem44_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem44.ItemClick
        Chi.Show()
        Chi.MdiParent = Me
        Chi.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem28_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem28.ItemClick
        Benh.Show()
        Benh.MdiParent = Me
        Benh.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem25_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem25.ItemClick
        BoPhan.Show()
        BoPhan.MdiParent = Me
        BoPhan.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem30_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem30.ItemClick
        CachDung.Show()
        CachDung.MdiParent = Me
        CachDung.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem35_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem35.ItemClick
        ChiPhi.Show()
        ChiPhi.MdiParent = Me
        ChiPhi.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem32_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem32.ItemClick
        DieuKienBaoQuan.Show()
        DieuKienBaoQuan.MdiParent = Me
        DieuKienBaoQuan.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem22_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem22.ItemClick
        DonViTinh.Show()
        DonViTinh.MdiParent = Me
        DonViTinh.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem27_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem27.ItemClick
        DuocSi.Show()
        DuocSi.MdiParent = Me
        DuocSi.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem18_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem18.ItemClick
        KhachHang.Show()
        KhachHang.MdiParent = Me
        KhachHang.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem21_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem21.ItemClick
        Kho.Show()
        Kho.MdiParent = Me
        Kho.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem6_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem6.ItemClick
        NghiepVu.Show()
        NghiepVu.MdiParent = Me
        NghiepVu.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem13_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem13.ItemClick
        FormDon.Show()
        FormDon.MdiParent = Me
        FormDon.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem7_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem7.ItemClick
        HangHoa.Show()
        HangHoa.MdiParent = Me
        HangHoa.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem36_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem36.ItemClick
        PhieuNhap.Show()
        PhieuNhap.MdiParent = Me
        PhieuNhap.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem24_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem24.ItemClick
        NhanVien.Show()
        NhanVien.MdiParent = Me
        NhanVien.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub BarButtonItem31_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem31.ItemClick
        
    End Sub

    Private Sub BarButtonItem37_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem37.ItemClick
        PhieuXuat.Show()
        PhieuXuat.MdiParent = Me
        PhieuXuat.WindowState = FormWindowState.Maximized
    End Sub
End Class